//
//  WYUser.m
//  FriendCircleDemo
//
//  Created by mac on 2018/9/25.
//  Copyright © 2018年 WY. All rights reserved.
//

#import "WYUser.h"

@implementation WYUser
+ (NSDictionary *)modelCustomPropertyMapper {
    return @{@"screenName"         : @"screen_name",
             @"profileImageUrl"    : @"profile_image_url",
             @"avatarLarge"        : @"avatar_large"
             };
}

/// 实现
- (BOOL)isEqual:(WYUser *)object
{
    /// 重写比对规则
    if([object isKindOfClass:[self class]])
    {
        return [self.idstr isEqualToString:object.idstr];
    }
    return [super isEqual:object];
}
@end
